<fieldset id="agrupacion">
  <legend>Busqueda</legend>
  <!-- Empieza formulario de busqueda -->
  <% form_tag url_for(:action=>"update_assing_table"),{:id =>"cultural_heritage_properties_assing_form_search"} do -%>

    <p class="two-col"><label>Buscar</label><%= text_field_tag "search_name" %></p>
    
    <fieldset class="column-left">
      <p>
        <label>Institución cultural</label>
        <%= collection_select(:cultural_institution, :id, @cultural_institutions, :id, :name, options ={:prompt => "Seleccione"}, :class => "combobox") %></p>
      <!--<p><label>Desde:</label>=# datepicker_input "calendar", "start_date" %></p>
      <p><label>Hasta:</label>=# datepicker_input "calendar", "end_date" %></p>-->
    </fieldset>

    <fieldset class="column-right">      
        <label>Estado</label>
        <%= select_tag "search_state", options_for_select(@states_heritage.collect {|t| [t.name, t.id]}),:include_blank=>"Seleccione" , :class => "combobox"%>
      
        <label>Grupos</label>
        <%= select_tag "search_group", options_for_select(@groups.collect {|t| [t.name, t.id]}),:include_blank=>"Seleccione", :class => "combobox" %>
      
        <label>Subgrupo</label>
        <%= select_tag "search_subgroup", options_for_select(@subgroups.collect {|t| [t.name, t.id]}),:include_blank=>"Seleccione", :class => "combobox" %>
    </fieldset>
    
    <%=hidden_field_tag "collection_id",@cultural_heritage_collection.id%>

    <input class="column-right" name="Buscar" value="Buscar" id="cultures_search" type="submit" />
  <% end %>
</fieldset>